package myJs.specialMember.allTest

import myJs.CpLayer
import myJs.Implicits._
import myJs.admin.editSample.EditSample
import myJs.admin.viewSample.ViewSample
import myJs.api.Api
import myJs.cps.BootstrapTableCp.Column
import myJs.cps.project.{BasicInfoModalCp, FreezerInfoModalCp, TestInfoModalCp}
import myJs.cps.{BootstrapTableCp, Style}
import myJs.myPkg.{SwalOptions, swal}
import myJs.tool.Pojo._
import myJs.tool.Tool
import org.scalajs.macrotaskexecutor.MacrotaskExecutor.Implicits._
import slinky.core.FunctionalComponent
import slinky.core.annotations.react
import slinky.core.facade.Hooks.{useEffect, useState}
import slinky.web.html._
import typings.csstype.csstypeStrings
import upickle.default._

import scala.collection.immutable.SeqMap

/**
 * Created by yz on 21/1/2022
 */
@react object Cp {

  val curPage = AllTest
  type Props = Unit

  val component = FunctionalComponent[Props] { props =>

    object FTool {

    }

    CpLayer(title = curPage.titleStr)(
      div(className := "page-content",
        div(className := "row-fluid",
          div(className := "row",
            div(className := "col-md-12 col-sm-12",
              div(className := "portlet light",
                div(className := "portlet-title",
                  div(className := "caption", s"${curPage.titleStr}")
                ),
                div(className := "portlet-body",

                  TableCp(),

                ),
              )
            )
          )
        )
      )
    )

  }


}
